﻿using LanguagePolish.Base;
using LanguagePolish.EntityModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LanguagePolish.ViewModels
{
    class StudentsInfoViewModel : BaseViewModel
    {
        public Student Student { get; private set; }
        public StudentsInfoViewModel(Student myStudent)
        {
            Student = myStudent;
        }

        private string gender;
        public string Gender
        {
            get 
            {
                if (Student.Gender == false)
                    gender = "Female";
                else if (Student.Gender == true)
                    gender = "Male";
                else
                    gender = "";
                return gender; 
            }
        }
    }
}
